package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 修改密码表单对象
 */
@Schema(description = "修改密码表单对象")
@Data
public class PasswordForm {

    @Schema(description = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPass;

    @Schema(description = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPass;

    @Schema(description = "确认密码")
    @NotBlank(message = "确认密码不能为空")
    private String confirmPass;
}
